import {Syllabus,SyllabusDetail} from "../../types/requestTypes"
import request from "../request";
import {ResponseRET,ResSyllabus} from "../../types/responseTypes"

/**
 * 查询课程表班级列表
 * @param name
 */

export const getSyllabusList = (params:Syllabus):Promise<ResponseRET>=> request.post( '/restapi/STUA_mbreport_new/RD_SCHOOL_TIME_LIST',params,true)

/**
 * 查询指定课程表班级详情
 * @param name
 */

export const getSyllabusDetail = (params:SyllabusDetail):Promise<ResSyllabus>=> request.post( '/restapi/STUA_mbreport_new/RD_SCHOOL_TIME_ID',params,true)